/**
 * jims
 */
package com.jims.master.modules.doctor.service;

import com.jims.master.common.persistence.Page;
import com.jims.master.common.service.CrudService;
import com.jims.master.modules.doctor.dao.PatsInUnnursingDao;
import com.jims.master.modules.doctor.entity.PatsInUnnursing;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Service
 * @author 陈涛
 * @version 2017-03-28
 */
@Service
@Transactional(readOnly = true)
public class PatsInUnnursingService extends CrudService<PatsInUnnursingDao, PatsInUnnursing> {

	public PatsInUnnursing get(String id) {
		return super.get(id);
	}
	
	public List<PatsInUnnursing> findList(PatsInUnnursing patsInUnnursing) {
		return super.findList(patsInUnnursing);
	}
	
	public Page<PatsInUnnursing> findPage(Page<PatsInUnnursing> page, PatsInUnnursing patsInUnnursing) {
		return super.findPage(page, patsInUnnursing);
	}
	
	@Transactional(readOnly = false)
	public int save(PatsInUnnursing patsInUnnursing) {
		return super.save(patsInUnnursing);
	}
	
	@Transactional(readOnly = false)
	public int delete(PatsInUnnursing patsInUnnursing) {
		return super.delete(patsInUnnursing);
	}
	
}